<template>
    <div 
      v-show="false"
    >
    <div id="DomImgxlcn" class="DomImg">
      <div class="A4page">
        <h1>个人学历承诺</h1>
        <div style="margin-top: 80px">
          <p style="text-indent: 50px; font-family: '宋体'">
            本人姓名<u>{{ formLabelAlign.nickname }}</u
            >，身份证号码<u>{{ formLabelAlign.username }}</u
            >，现承诺，本人具有{{
              formLabelAlign.education
            }}学历，以上内容真实有效，如有虚假，本人愿意承担相应责任
          </p>
          <div
            style="
              width: 100%;
              display: flex;
              justify-content: flex-end;
              padding-right: 30px;
              margin-top: 150px;
            "
          >
            <span style="font-size: 30px">承诺人（签字）：</span>
            <img :src="formLabelAlign.edu_photo" style="height: 70px" alt="" />
          </div>
          <div style="width: 100%; display: flex; justify-content: flex-end">
            <span style="font-size: 30px; padding: 0 30px"
              >{{ new Date().getFullYear() }}年</span
            >
            <span style="font-size: 30px; padding: 0 30px"
              >{{ new Date().getMonth() + 1 }}月</span
            >
            <span style="font-size: 30px; padding: 0 30px"
              >{{ new Date().getDate() }}日</span
            >
          </div>
        </div>
      </div>
    </div>
    </div>
  </template>
  
  <script>
  export default {
      props:['autographPath','formLabelAlign'],
      name:'xlcn',
  }
  </script>
  
  <style lang="scss" scoped>
  .DomImg {
    position: absolute;
    z-index: -100;
    top: 0;
    left: 0;
    .A4page {
      width: calc(595px * 2);
      height: calc(840px * 2);
      // background:url('~@/assets/logo/pdfbg.png') no-repeat;
      overflow: hidden;
      -webkit-print-color-adjust: exact;
      color: #000;
      position: relative;
      padding: 70px 70px;
  
      u {
        // text-decoration:underline;
        border-bottom: 1px solid #333;
        // display: inline-block;
        // padding:0 80px;
      }
  
      p {
        margin: 0;
        font-size: 30px;
        line-height: 80px;
      }
  
      h1 {
        text-align: center;
        // font-weight: 600;
        font-size: 40px;
      }
    }
  }
  </style>